setMarginStart

Deprecated

Use setMarginStart directly.

Set the relative start margin.

On platform versions supporting bidirectional text and layouts this value will be resolved into the LayoutParams object's left or right margin as appropriate when the associated View is attached to a window or when the layout direction of that view changes.

Parameters

lp

LayoutParams to query

marginStart

the desired start margin in pixels